package com.zheng.hospital.reponsitory;

import com.zheng.hospital.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface DepartmentRepository extends MongoRepository<Department, String> {
    /**
     * 上传科室接口
     */
    Department getDepartmentByHoscodeAndDepcode(String hosCode, String Depcode);
}
